package com.zhou.concurrency.controller;

import lombok.extern.slf4j.Slf4j;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @author lijizhou01
 * @date 2020/11/1
 */
@Controller
@Slf4j
public class TestController {
    private final Logger logger = LoggerFactory.getLogger(this.getClass().getName());

    @GetMapping("/test")
    @ResponseBody
    public String test() {
        logger.info("come in");
        return "test";
    }
}
